package com.wealth.platform.enums;

public enum SldConfigTypeEnum {
	WECHAT(1,"微信端"),PC(2,"电脑端");
	private int value;
	private String comment;
	
	
	private SldConfigTypeEnum(int value, String comment) {
		this.value = value;
		this.comment = comment;
	}
	public int getValue() {
		return value;
	}
	public void setValue(int value) {
		this.value = value;
	}
	
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public static SldConfigTypeEnum get(int value){
		for (SldConfigTypeEnum o:SldConfigTypeEnum.values()) {
			if(o.value ==value){
				return o;
			}
		}
		return null;
	}
	
}
